package com.kun.framework.core.exception;

import com.kun.framework.core.enums.PopupMessageTypeEnum;
import javafx.stage.Stage;

/**
 * 警告提示弹窗异常
 *
 * @author gzc
 * @since 2024/9/2
 */
public class WarningException extends AbstractPopupException {
    @Override
    protected PopupMessageTypeEnum getPopupMessageTypeEnum() {
        return PopupMessageTypeEnum.WARNING;
    }

    public WarningException(String message) {
        super(message);
    }

    public WarningException(long timed, String message) {
        super(timed, message);
    }

    public WarningException(long timed, String message, Stage initOwnerStage) {
        super(timed, message, initOwnerStage);
    }

    public WarningException(long timed, Stage initOwnerStage, String message, Object... params) {
        super(timed, initOwnerStage, message, params);
    }
}